package FlowGraph.Nodes;

import antlr.collections.AST;

import util.Line;
import FlowGraph.FlowGraphNode;

//////////////////////////////////////////////////////////////////////////
//// ContinueNode
/**

@author Ivan Jeukens
@version v 0.1 03/10/2001
*/
public class ContinueNode extends FlowGraphNode {

    public ContinueNode(AST statement) {
        super(statement, CONTINUE);
        _label = statement.getFirstChild();
    }
    
    ///////////////////////////////////////////////////////////////////
    ////                        public methods                     ////

    public AST getTarget() {
        return _label;
    }
    
    public void setLine(Line l) {
        _line = l;
    }
    
    public Line getLine() {
        return _line;
    }
    
    ///////////////////////////////////////////////////////////////////
    ////                      private variables                    ////
    
    private AST _label;
    private Line _line;
}
